package cn.lhx.blog.service.impl;

import java.io.Serializable;
import java.util.Iterator;
import javax.annotation.Resource;
import cn.lhx.blog.dao.DaoArticOrg;
import cn.lhx.blog.pojo.ArticleOrigin;
import cn.lhx.blog.service.ArticleOrgService;


public class ArticleOrgServiceBean implements ArticleOrgService {
	@Resource
	private DaoArticOrg daoArticOrg;

	public Iterator<ArticleOrigin> getAllOrg() {
		return	daoArticOrg.getAllOrg();
	}

	public ArticleOrigin getOrgById(Serializable id) {
		return daoArticOrg.getOrgById((Integer)id);
	}

}
